package com.gzz.demo.pattern.interpret.game;

public class GameClient {
    public static void main(String args[]) {
        String instruction = "up move 5 and down run 10 and left move 5 and right move 10";
        InstructionHandler handler = new InstructionHandler();
        handler.handle(instruction);
        String outString;
        outString = handler.output();
        System.out.println(outString);
    }
}
